package com.ticket.sass.admin.model;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ywb
 * @date 2024-06-05 10:48
 */
@Data
@ApiModel
public class FilmSaleModel {
    private Integer ticketCount;
    private BigDecimal price;
    
    public FilmSaleModel() {
        this.ticketCount = 0;
        this.price = new BigDecimal("0.0");
    }
    
    public FilmSaleModel(Integer ticketCount, BigDecimal price) {
        this.ticketCount = ticketCount;
        this.price = price;
    }
    
    @Override
    public String toString() {
        return "FilmSaleModel{" +
            "ticketCount=" + ticketCount +
            ", price=" + price +
            '}';
    }
}
